package com.sun.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sun.service.dto.TmVhcVehicleMovementReportPointDto;
import com.sun.service.dto.TmVhcVehicleMovementReportPointQuery;
import com.sun.service.entity.TmVhcVehicleMovementDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TmVhcVehicleMovementDao extends BaseMapper<TmVhcVehicleMovementDo> {

    /**
     * 整车过点列表查询分页
     *
     * @param page 入参
     * @return DataDTO<List < TmBasSortRuleDetailQueryByVinResultDto>> 返回结果
     */
    IPage<TmVhcVehicleMovementReportPointDto> queryReportPoint(IPage<TmVhcVehicleMovementReportPointQuery> page, @Param("param") TmVhcVehicleMovementReportPointQuery param);

    /**
     * 整车过点查询导出
     *
     * @param param
     * @return
     * @author hxy0098
     */
    List<TmVhcVehicleMovementReportPointDto> queryReportPoint(@Param("param") TmVhcVehicleMovementReportPointQuery param);
}
